<?
$item_type = array('' => '{Unknow}', '1' => lang('label_new'), '2' => lang('label_used'), '3' => lang('label_refurbed'))
?>
<style type="text/css">
    .details_item{

        display: inline-block;
        width: 130px;
    }

</style>

<ul data-role="listview">

    <li><span class="details_item"><?php echo lang('label_quantity')?> </span>

        <?
        if ($item->quantity != '') {
            echo $item->quantity;
        }
        ?>

        <? if ($item->battery == 'YES') { ?><span class="battery">{battery}</span> <? } ?>
        <? if ($item->perfum == 'YES') { ?><span class="perfum">{perfum}</span> <? } ?></li>
    <li>
        <span class="details_item"> <?php echo lang('label_title')?></span>
 <div style="margin-right: 120px; display: inline-block">
        <?
        if ($item->title != '') {
            echo $item->title;
        }
        ?> 
 </div>

    </li>
    <li>
        <? if ($item->link != '') { ?> 
        
        <a href="<?php echo  $item->link ?>" >{Link_view}</a> 
            
        <? } ?>  

                </li>
                <li><span class="details_item"><?php echo lang('label_item_number')?> </span>
                    <?
                    if ($item->item_number != '') {
                        echo $item->item_number;
                    }
                    ?>
                </li>
                <li><span class="details_item"><?php echo lang('label_price')?> </span>
                    <?
                    if ($item->price != '') {
                        echo $item->price;
                    }
                    ?> {Dolar}
                </li>
                <li><span class="details_item"><?php echo lang('label_weight')?> </span>
                    <?
                    if ($item->weight != '') {
                        echo $item->weight;
                    }
                    ?>{LBS}
                </li>
                <li><span class="details_item"><?php echo lang('label_bill_shiping_rate')?> </span>
                    <?
                    if ($item->shiping_cost != '') {
                        echo $item->shiping_cost;
                    }
                    ?>{Dolar}
                </li>
                <li><span class="details_item"><?php echo lang('label_size')?> </span>
                    <?
                    if ($item->size != '') {
                        echo $item->size;
                    }
                    ?>  
                </li>
                <li><span class="details_item"><?php echo lang('label_color')?> </span>
                    <?
                    if ($item->color != '') {
                        echo $item->color;
                    }
                    ?>
                </li>
                <li><span class="details_item">{item_type} </span>
                    <?
                    if ($item->item_type != '') {
                        echo $item_type[$item->item_type];
                    }
                    ?>
                </li>
                <li><span class="details_item">{details} </span>
                    <div style="margin-right: 120px;">
                    <?
                    if ($item->details != '') {
                        echo $item->details;
                    }
                    ?>
                        </div>
                </li>

                </ul>
